# @Author：silence
# @Email：792245022@qq.com
# @Date：2025/1/5 23:58

# num1 = float(input("请输入第一个数："))
# num2 = float(input("请输入第二个数："))
#
# if num1 > 10.0 and num2 < 20.0:
#     print(f"{num1} + {num2} = {num1 + num2}")
# else:
#     print("不计算了")

# num1 = 10
# num2 = 5
# num3 = sum([num1, num2])
#
# if num3 % 3 == 0 and num3 % 5 == 0:
#     print("该数能被 3 又能被 5 整除")
# else:
#     print("该数不能同时被 3 和 5 整除")

year_num = 2000

if ((year_num % 4 == 0 and year_num % 100 != 0)
        or year_num % 400 == 0):
    print(f"{year_num} 是闰年")
else:
    print(f"{year_num} 不是闰年")